// 话题分类
export const CATEGORY_TRANSLATIONS = {
	// 传统服饰类
	traditionalClothing: {
		hanFu: '汉服',
		tangDynasty: '唐代服饰',
		songDynasty: '宋代服饰',
		mingDynasty: '明代服饰',
		dailyOutfit: '日常服饰',
		weddingDress: '婚服',
		ceremonial: '礼服',
		historicalReplica: '历史复刻'
	},
	// 美妆类
	makeup: {
		hairstyle: '发型',
		makeupArt: '化妆艺术',
		nailArt: '美甲艺术'
	},
	// 文化类
	culture: {
		history: '历史',
		etiquette: '礼仪',
		craftsmanship: '工艺'
	},
	// 配饰类
	accessories: {
		headwear: '头饰',
		belts: '腰带',
		shoes: '鞋履',
		jewelry: '首饰',
		fans: '扇子'
	},
	// 活动类
	events: {
		festival: '节日活动',
		meetup: '聚会活动',
		contest: '比赛活动'
	}
}

// 话题分类(按 Id 分类)
export const CATEGORY_BY_ID = {
	1: "汉服",
	2: "唐代服饰",
	3: "宋代服饰",
	4: "明代服饰",
	5: "日常服饰",
	6: "婚服",
	7: "礼服",
	8: "历史复刻",
	9: "头饰",
	10: "腰带",
	11: "鞋履",
	12: "首饰",
	13: "扇子",
	14: "发型",
	15: "化妆艺术",
	16: "美甲艺术",
	17: "历史",
	18: "礼仪",
	19: "工艺",
	20: "节日活动",
	21: "聚会活动",
	22: "比赛活动",
	23: "未分类"
}

export const CATEGORY_ID_MAP = {
	推荐: -1,
	汉服: 1,
	唐代服饰: 2,
	宋代服饰: 3,
	明代服饰: 4,
	日常服饰: 5,
	婚服: 6,
	礼服: 7,
	历史复刻: 8,
	头饰: 9,
	腰带: 10,
	鞋履: 11,
	首饰: 12,
	扇子: 13,
	发型: 14,
	化妆艺术: 15,
	美甲艺术: 16,
	历史: 17,
	礼仪: 18,
	工艺: 19,
	节日活动: 20,
	聚会活动: 21,
	比赛活动: 22,
}


// 允许的媒体类型
export const ALLOWED_TYPES = {
	image: new Set([
		'image/jpg', 'image/jpeg', 'image/png',
		'image/gif', 'image/bmp', 'image/webp'
	]),
	video: new Set([
		'video/mp4', 'video/avi', 'video/mov',
		'video/mkv', 'video/flv', 'video/webm'
	])
}